package com.sdtv.mediunfusion.mvp.model;

import com.sdtv.basemodule.mvp.IModel;
import com.sdtv.basemodule.mvp.IView;
import com.sdtv.mediunfusion.mvp.contract.MainContract;

import io.reactivex.Observable;

/**
 * @ProjectName: MediunFusion
 * @Package: com.sdtv.mediunfusion.mvp.model
 * @ClassName: AuditLoggingModel
 * @Description: 报题-审核记录的model
 * @Author: 小郭同学
 * @CreateDate: 2019-08-05 15:27
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class AuditLoggingModel extends IModel {

    public AuditLoggingModel(IView mIView) {
        super(mIView);
    }


    /**
     * 获取报题的审核记录
     *
     * @param topicId
     * @return
     */
    public Observable getAuditLog(String topicId) {
        return addObservable(MainContract.getAppService().getTopicAuditLogging(topicId));
    }


}
